package fei.yuzhi.com.loveflowers.ui.ProductActivity;

import java.util.List;

import fei.yuzhi.com.loveflowers.base.IModle;
import fei.yuzhi.com.loveflowers.base.IPresenter;
import fei.yuzhi.com.loveflowers.base.IView;
import fei.yuzhi.com.loveflowers.bean.ProductBean;

/**
 * Created by Administrator on 2016/10/9.
 */
public class ProductContract {
    public  interface ProductView extends IView{
        public void onGetProductBeanSuccess(List<ProductBean.DatasBean.GoodsListBean> list);
        public void onGetProductBeanFail();
        public void onGetProductPriceSuccess(List<ProductBean.DatasBean.GoodsListBean> list);
        public void onGetProductPriceFail();
        public void onGetProductSaleSuccess(List<ProductBean.DatasBean.GoodsListBean> list);
        public void onGetProductSaleFail();
    }
    public interface ProductModle extends IModle{
        public void getProductBean(int page,String keyword,fei.yuzhi.com.loveflowers.ui.ProductActivity.ProductModle.loadProductBean mloadProductBean);
        public void getProductPrice(int page,String keyword,fei.yuzhi.com.loveflowers.ui.ProductActivity.ProductModle.loadProductPriceBean mloadProductPriceBean);
        public void getProductSale(int page,String keyword,fei.yuzhi.com.loveflowers.ui.ProductActivity.ProductModle.loadProductSaleBean mloadProductSaleBean);
    }
    public interface ProductPresenter extends IPresenter{
        public void ProductConnected();
        public void ProductPriceConnected();
        public void ProductSaleConnected();
    }

}
